/**
 * 2017，thor.com，all rights reserved。
 * 
 * Project：		palmmall-core
 * Filename：	PShop.java
 * Created：		2017年5月25日
 * Creator：		wolv
 */
package com.thor.palmmall.dao.rpt.shop;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Index;

import com.thor.commons.jpa.entity.PEntity;

/**
 * @author wolv
 *
 */
@Entity
@Table(name = "PMShop")
@org.hibernate.annotations.Table(appliesTo = "PMShop", indexes = {
    @Index(name = "idx_PMShop_1", columnNames = {
        "storeId" }) })
public class PShop extends PEntity {
	private static final long serialVersionUID = -2410670512321241834L;

	private String shopId;
	private String shop;
	private String floor;
	private String storeId;
	private String store;
	private String bizType;
	private String cooperationType;
	private boolean isMainShop;
	private BigDecimal area;

	/**
	 * 销售发生店铺ID
	 * 
	 * @return
	 */
	@Column(name = "shopId", nullable = true, length = 38)
	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	/**
	 * 销售发生店铺
	 * 
	 * @return
	 */
	@Column(name = "shop", nullable = true, length = 128)
	public String getShop() {
		return shop;
	}

	public void setShop(String shop) {
		this.shop = shop;
	}

	/**
	 * 销售发生楼层
	 * 
	 * @return
	 */
	@Column(name = "floor", nullable = true, length = 128)
	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}

	/**
	 * 销售发生门店ID
	 * 
	 * @return
	 */
	@Column(name = "storeId", nullable = true, length = 38)
	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	/**
	 * 销售发生门店
	 * 
	 * @return
	 */
	@Column(name = "store", nullable = true, length = 128)
	public String getStore() {
		return store;
	}

	public void setStore(String store) {
		this.store = store;
	}

	/**
	 * 销售所属业态
	 * 
	 * @return
	 */
	@Column(name = "bizType", nullable = true, length = 128)
	public String getBizType() {
		return bizType;
	}

	public void setBizType(String bizType) {
		this.bizType = bizType;
	}

	/**
	 * 店铺合作类型
	 * 
	 * @return
	 */
	@Column(name = "cooperationType", nullable = true, length = 128)
	public String getCooperationType() {
		return cooperationType;
	}

	public void setCooperationType(String cooperationType) {
		this.cooperationType = cooperationType;
	}

	/**
	 * 是否主力店
	 * 
	 * @return
	 */
	@Column(name = "isMainShop", nullable = true)
	public boolean isMainShop() {
		return isMainShop;
	}

	public void setMainShop(boolean isMainShop) {
		this.isMainShop = isMainShop;
	}

	/**
	 * 面积
	 * 
	 * @return
	 */
	@Column(name = "area", nullable = true, precision = 19, scale = 4)
	public BigDecimal getArea() {
		return area;
	}

	public void setArea(BigDecimal area) {
		this.area = area;
	}
}
